package com.itwlj.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * sku
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Sku implements Serializable {

    private static final long serialVersionUID = 1L;

    //id
    private Long id;

    //商品id
    private Long goodsId;

    //图片
    private String picture;

    //sku的编码
    private Long skuCode;

    //当前规格价格
    private BigDecimal price;

    //当前规格库存
    private Long inventory;
}
